import Vue from "vue"
import {WEB_PAGE_IP} from '@/constants/web_page_ip.js'

Vue.prototype.goodsConstants = {
  // 商品图片获取的基础地址
  goodsPictureBaseURL: 'http://' + WEB_PAGE_IP + '/api/static/',
  // 商品类别
  goodsCategorys: [
    {label: '女装', value: '女装'},
    {label: '男装', value: '男装'},
    {label: '数码', value: '数码'},
    {label: '鞋靴', value: '鞋靴'},
    {label: '运动', value: '运动'},
    {label: '洗护', value: '洗护'},
    {label: '食品', value: '食品'},
    {label: '图书', value: '图书'},
  ], 
  // 商品参数类别
  goodsParamCategorys: [
    {label: '颜色', value: '颜色'},
    {label: '尺码', value: '尺码'},
    {label: '口味', value: '口味'},
    {label: '内存容量', value: '内存容量'},
    {label: '版本', value: '版本'},
    {label: '型号', value: '型号'},
  ],
}